

//请在此添加实现代码
/********** Begin **********/
public class ThreadClassTwo implements Runnable   {
    private Thread t;
    public void run() {
        for (int i = 0; i <= 10; i++) {
            if (i % 2 == 0) {
                System.out.print(i + " ");
            }
        }
    }
    public void start() {
        if (t == null) {
            t = new Thread(this, "");
            t.start();
        }
    }
}

class Main{
    public static void main(String[] args) {
        Thread t1 = new ThreadClassOne();
        Thread t2 = new Thread(new ThreadClassTwo());
        t1.start();
        t2.start();
    }
}
/********** End **********/
